package com.zj.sy.api;

/**
 * @description: API 错误信息
 * @author: Carver Zhang
 * @create: 2020-11-24 15:59
 **/
public interface PalMessageConstant {

    /**
     * 鉴权 token
     */
    String PAL_AUTH_TOKEN_CAN_NOT_EMPTY = "token不可为空";
    String PAL_AUTH_TOKEN_OVER_LIMIT_TIME = "token已过期,清重新登录";
    String PAL_AUTH_TOKEN_USELESS = "token无效,清重新登录";
    String PAL_AUTH_TOKEN_BUILD_FAIL = "token构建失败,请联系管理员";
    String PAL_AUTH_URL_PERMISSION_DENY = "没有权限请求Url";

    /**
     * 登录
     */
    String PAL_LOGIN_USER_DISABLE = "账号不存在";
    String PAL_LOGIN_USER_PWD_WRONG = "密码错误";

    /**
     * system
     */
        /** 用户 */
    String PAL_SYSTEM_USERNAME_NOT_BLANK = "用户名不允许为空";
    String PAL_SYSTEM_PASSWORD_NOT_BLANK = "密码不允许为空";
    String PAL_SYSTEM_PHONE_NOT_BLANK = "手机号不允许为空";
    String PAL_SYSTEM_SEX_NOT_BLANK = "性别不允许为空";
    String PAL_SYSTEM_USER_REGISTER_USERNAME_EXIST = "用户名已存在";
    String PAL_SYSTEM_USER_REGISTER_PHONE_EXIST = "手机号已存在";

        /** 组织 */
    String PAL_SYSTEM_ORG_NAME_NOT_BLANK = "组织名不允许为空";
    String PAL_SYSTEM_ORG_NAME_EXIST = "组织名已存在";

        /** 菜单功能 */
    String PAL_SYSTEM_MENU_NAME_NOT_BLANK = "菜单名称不允许为空";
    String PAL_SYSTEM_MENU_CODE_NOT_BLANK = "菜单代码不允许为空";
    String PAL_SYSTEM_MENU_SEQ_NOT_BLANK = "菜单序号不允许为空";

    String PAL_SYSTEM_MENU_NAME_EXIST = "菜单名称已存在";
    String PAL_SYSTEM_MENU_CODE_EXIST = "菜单代码已存在";

    String PAL_SYSTEM_FUNCTION_NAME_NOT_BLANK = "功能名称不允许为空";
    String PAL_SYSTEM_FUNCTION_CODE_NOT_BLANK = "功能代码不允许为空";
    String PAL_SYSTEM_FUNCTION_URL_NOT_BLANK = "功能地址不允许为空";
    String PAL_SYSTEM_FUNCTION_MENU_NOT_BLANK = "功能菜单ID不允许为空";

        /** 角色功能 */
    String PAL_SYSTEM_ROLE_NAME_NOT_BLANK = "角色名不允许为空";
    String PAL_SYSTEM_ROLE_CODE_NOT_BLANK = "角色代码不允许为空";

    String PAL_SYSTEM_ROLE_NAME_EXIST = "角色名称已存在";
    String PAL_SYSTEM_ROLE_CODE_EXIST = "角色代码已存在";

        /** 日志功能 */
    String PAL_SYSTEM_LOG_TITLE_NOT_BLANK = "操作模块不允许为空";
    String PAL_SYSTEM_LOG_BUSINESS_TYPE_INVALID  = "业务类型无效";

    String PAL_SYSTEM_LOG_NOT_EXIST = "日志不存在";

    /**
     * model
     */
        /** 任务 */
    String PAL_MODEL_JOB_NAME_EXIST = "任务名称已存在";
}
